package org.platform.executor.system;

import com.mc.mic.core.bus.provider.IMicProviderServiceExecutor;
import org.platform.mo.csmo.cmd50001.QueryLogInfoRequestParam;
import org.platform.mo.csmo.cmd50001.QueryLogInfoResponseParam;
import org.platform.service.system.LogInfoServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author FengJie
 * @date 2018/8/21
 */
@Service
public class QueryLogInfoExecutor implements IMicProviderServiceExecutor<QueryLogInfoRequestParam, QueryLogInfoResponseParam> {
    @Autowired
    private LogInfoServiceImpl service;

    @Override
    public QueryLogInfoResponseParam doExecute(QueryLogInfoRequestParam requestParam) {
        return service.queryLogInfo(requestParam);
    }
}
